package team.you.change.dao;

import team.you.change.pojo.Apply;

import java.util.List;

public interface ApplyMapper {
    int deleteByPrimaryKey(String id);

    int insert(Apply record);

    Apply selectByPrimaryKey(String id);

    List<Apply> selectAll();

    int updateByPrimaryKey(Apply record);
    //根据调整前课程id查询
    List<Apply> selectByOldID(Integer id);
    //根据调整后课程id查询
    List<Apply> selectByNewID(Integer id);
}